package com.stadium.mapper;

import com.stadium.dto.RRuleDetailDto;
import com.stadium.entity.RRuleDetail;
import com.stadium.vo.searchVo.SearchVo;

import java.util.List;

/**
 * 规则细则
 *
 * @author zq
 * @email 513973172@qq.com
 * @date 2020-01-31 15:13:39
 */
public interface RRuleDetailMP {
    void save(RRuleDetail rRuleDetail);

    void saveBatch(List<RRuleDetail> list);

    void delete(String id);

    void deleteBatch(String[] ids);

    void update(RRuleDetail rRuleDetail);

    List<RRuleDetailDto> query(SearchVo searchVo);

    RRuleDetailDto get(String id);

    int getCount(SearchVo searchVo);

    List<RRuleDetailDto> getByRuleId(String id);

    RRuleDetail getByCode(String code);
}
